<!--<ion-header>

  <ion-navbar>
    <ion-title>登录</ion-title>
  </ion-navbar>

</ion-header>-->


<ion-content>
  <div class="login-div">
    <div class="logo-div">
      <img src="assets/imgs/logo.png" class="logo-img"/>
      <span class="title">直接人工优化系统</span>
    </div>
  </div>
  <ion-item>
    <ion-label>工号</ion-label>
    <ion-input type="text" placeholder="请输入工号" #username value="{{uname}}"></ion-input>
  </ion-item>
  <ion-item>
    <ion-label>密码</ion-label>
    <ion-input type="password" placeholder="请输入密码" #password value="{{pwd}}"></ion-input>
  </ion-item>

  <div style="text-align: center;margin: 10% 5% 0 5%;  ">
    <button ion-button block color="danger" (click)="logIn(username, password)">
      登录
    </button>
  </div>

</ion-content>
